package day05;

public class ArrDemo {
    public static void main(String[] args) {
        //声明,赋值
        int[] arr = new int[9];
        int[] arr1 = {154,156,454,1,55,156,454,4454,4,54,44};
        int[] arr2 = new int[]{454,45,65,44,446,4,4,84854,55};
        int[] arr3;
        arr = new int[]{487,57,4,8,5,};
        //访问

        System.out.println(arr1[6]);
        System.out.println();
        //遍历
        for (int i = 0;i < arr2.length;i++){
            System.out.println(arr2[i]);
        }
    }
}
